package com.adeaz.sdk.demo;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;

import com.adeaz.AdeazController;

import com.adeaz.sdk.demo.wow.AdLayerUtil;
import com.adeaz.sdk.demo.wow.LoopPager;


public class MainActivity extends Activity implements OnClickListener {
    final String TAG = "adeazDemo";
    LoopPager mBannerLoopPager;
    AdLayerUtil util;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        AdeazController.init(this, true);
        mBannerLoopPager = (LoopPager) findViewById(R.id.banner_loop_view);
        util = new AdLayerUtil(this, mBannerLoopPager);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.bannerADButton:
                util.getGdtDa();
                break;
        }
    }


}
